@import './var.css';
@import "./common.css";
/**
自定义小图标
 */
@import "//at.alicdn.com/t/font_1569240_w3gzdix8ime.css";

::-webkit-scrollbar {
  width: 7px;
  height: 7px;
  background-color: #fff;
}

::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background-color: rgba(144, 146, 152, 0.3);
}

::-webkit-scrollbar-track-piece {
  background-color: #fff;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

input[type="number"] {
  -moz-appearance: textfield;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 100px;
}

body {
  font-size: 14px;
  font-family: "Microsoft Yahei", "Hiragino Sans GB", tahoma, arial, serif;
  -webkit-tap-highlight-color: rgba(200, 200, 200, 0);
  background: var(--bg);
  color: #333;
  min-width: 1024px;
  /* height: 100vh; */
  /* overflow-y: hidden; */
  overflow-x: auto;
}

li {
  list-style: none
}

input {
  outline: none;
}

i, em {
  font-style: normal;
  outline: none;
}

i {
  font-family: 'iconfont';
}

a {
  text-decoration: none;
}

:-moz-placeholder {
  color: #ccc;
  font-size: 0.14rem;
}

::-webkit-input-placeholder {
  color: #ccc;
  font-size: 0.14rem;
}

.ripple {
  position: relative;
  overflow: hidden;
}

.ripple::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: radial-gradient(circle, #B7CBE6 10%, transparent 10.01%);
  background-position: 50%;
  pointer-events: none;
  transform: scale(10, 10);
  opacity: 0;
  transition: transform .3s, opacity .5s;
}

.ripple:active::after {
  transform: scale(0, 0);
  opacity: .3;
  transition: 0s;
}

.right-arrow {
  position: relative;
  padding-right: 0.22rem;
}

.right-arrow::after {
  font-family: "iconfont-common";
  content: '\e681';
  position: absolute;
  top: 50%;
  right: 0.05rem;
  color: #c2c2c2;
  width: 0.2rem;
  height: 0.2rem;
  line-height: 0.2rem;
  margin-top: -0.09rem;
  text-align: center;
  transition: all 0.3s;
}

.rotate90::after {
  transform-origin: 50% 50%;
  transform: rotate(90deg);
  transition: all 0.2s;
}

.border5 {
  border-radius: 5px !important;
}

.border8 {
  border-radius: 8px !important;
}

.border10 {
  border-radius: 10px !important;
}

.h35 {
  height: 35px;
}

.h30 {
  height: 30px;
}

.h25 {
  height: 25px;
  padding: 5px 10px !important;
}

.h40 {
  height: 40px;
}

.primary-btn {
  background-color: var(--primary) !important;
  color: #fff !important;
  border: none !important;
}

.primary {
  color: var(--primary);
}

.green {
  color: var(--green);
}

.red {
  color: var(--red);
}

.orange {
  color: var(--orange);
}

.blue {
  color: var(--blue);
}

.gray {
  color: var(--gray);
}

.black {
  color: var(--black);
}

.primary-bg {
  background: var(--primary);
}

.green-bg {
  background: var(--green);
}

.red-bg {
  background: var(--red);
}

.orange-bg {
  background: var(--orange);
}

.blue-bg {
  background: var(--blue);
}

.gray-bg {
  background: var(--gray);
}

.black-bg {
  background: #000;
}

.font10 {
  font-size: 0.10rem;
}

.font12 {
  font-size: 0.12rem;
}

.font13 {
  font-size: 0.13rem;
}

.font14 {
  font-size: 0.14rem;
}

.font15 {
  font-size: 0.15rem;
}

.font16 {
  font-size: 0.16rem;
}

.font18 {
  font-size: 0.18rem;
}

.font20 {
  font-size: 0.2rem;
}

.slide-enter-active,
.slide-leave-active {
  transition: all .5s;
}

.slide-enter,
.slide-leave-to {
  max-height: 0;
  opacity: 0;
  transform: translate3d(0, -10%, 0);
}

.fade-right-leave-active,
.fade-right-enter-active {
  transition: all .4s;
}

.fade-right-enter {
  opacity: 0;
  transform: translateX(-50px);
}

.fade-right-leave-to {
  opacity: 0;
  transform: translateX(50px);
}

.zoom-enter-active,
.zoom-leave-active {
  transition: all .5s;
}

.zoom-enter,
.zoom-leave-to {
  opacity: 0;
  transform: scale3d(.1, .1, .1);
}

.fade-leave-active,
.fade-enter-active {
  transition: all 0.8s;
}

.fade-enter,
.fade-leave-to {
  opacity: 0;
}

.router-view {
  /* position: absolute;
  top: 0;
  left: 0; */
  width: 100%;
  min-height: 100%;
  /* overflow: auto; */
}

.child-router {
  background: #fff;
  /* max-width: 12rem; */
  /* @apply --box; */
  /* box-shadow: 0 0 0; */
  /* margin: 0.15rem;
  width: calc(100% - 0.3rem);
  min-height: calc(100% - 0.3rem); */
}

.scroll-box {
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
}

.active-btn:active {
  background: var(--active) !important;
}

@media screen and (max-width: 600px) {
  body,
  input,
  textarea {
    font-size: 0.14rem;
  }
}

.pointer {
  cursor: pointer;
}
